<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>Categories &laquo; Admin</title>
    <link rel="stylesheet" href="../assets/vendors/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../assets/vendors/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../assets/vendors/nprogress/nprogress.css">
    <link rel="stylesheet" href="../assets/css/admin.css">

</head>

<body>
    @@include('../comm/admin/comm.html')
    <script>
        NProgress.start()
    </script>

    <div class="main">
        <!-- 头部退出 -->
        @@include('../comm/top.html')
        <div class="container-fluid">
            <div class="page-title">
                <h1>分类目录</h1>
            </div>
            <!-- 有错误信息时展示 -->
            <!-- <div class="alert alert-danger">
        <strong>错误！</strong>发生XXX错误
      </div> -->
            <div class="row">
                <div class="col-md-4">
                    <form>
                        <h2>添加分类</h2>
                        <div class="form-group">
                            <label>名称</label>
                            <input class="form-control" type="text" placeholder="请输入分类名称" id="name">
                        </div>
                        <div class="form-group">
                            <label>图标</label>
                            <input class="form-control" type="text" placeholder="请输入分类图标类名" id="iconName">
                        </div>
                        <div class="form-group">
                            <button class="btn btn-primary add" type="button">添加</button>
                        </div>
                    </form>
                </div>
                <div class="col-md-8">
                    <!-- <div class="page-action">
            <a class="btn btn-danger btn-sm" href="javascript:;">批量删除</a>
          </div> -->
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th class="text-center" width="40"><input type="checkbox"></th>
                                <th>名称</th>
                                <th class="text-center" width="100">操作</th>
                            </tr>
                        </thead>
                        @@include('../comm/admin/categories.html')
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 左侧导航栏 -->
    @@include('../comm/left-nav.html')
    <script src="../assets/js/admin/categories.js"></script>
    <script>
        NProgress.done()
    </script>
</body>

</html>